/*
 * @Author: AskMeWhy
 * @Date: 2020-06-16 23:41:05
 * @Last Modified by: AskMeWhy
 * @Last Modified time: 2021-02-04 10:33:05
 */
$page-header-font-size: .16rem;
$page-header-default-color: #37383a;
$page-header-shadow-color: #D7DAE5;
.page-base-box{
    width: 100%;
    height: 100%;
    overflow: auto;
    ::v-deep{
        .pbb__title{
            font-size: $page-header-font-size;
            color: $page-header-default-color;
            padding: 0 0 .2rem;
            line-height: 1.4;
            a:focus, a:hover{
                text-decoration: unset;
            }
        }
        .pbb__search-box{
            width: 100%;
            position: relative;
            background: #fff;
        }
        .pbb__search-column{
            width: 100%;
            position: relative;
            &::after{
                display: block;
                content: '';
                visibility: hidden;
                clear: both;
                font-size: 0;
                line-height: 0;
            }
            &.fixed-column{
                width: auto;
                height: 48px;
                background: #fff;
                padding: 6px 20px;
            }
            &.tab-column{
                padding: 0 0;
                .el-tabs {
                    height: 100%;
                }
                .el-tabs__header {
                    background: #fff;
                    margin-bottom: 10px;
                    padding: 0 20px 0 30px;
                }
                .el-tabs__nav {
                    .el-tabs__item {
                        height: 48px;
                        line-height: 48px;
                        &.is-disabled {
                            color: #303133!important;
                        }
                        &.is-active {
                            color: #de2728!important;
                        }
                    }
                }
                .el-tabs__content {
                    height: calc(100% - 70px);
                    .el-tab-pane {
                        height: 100%;
                    }
                }
                .el-tabs__nav-wrap::after {
                    background: transparent;
                }
            }
        }
        .pbb__search-group{
            float: left;
            margin-right: .12rem;
            &::after{
                display: block;
                content: '';
                visibility: hidden;
                clear: both;
                font-size: 0;
                line-height: 0;
            }
            &.right{
                float: right;
                height: 100%;
                @include flexLayout(flex,normal,center);
            }
        }
        .pbb__search-label{
            float: left;
            width: 1rem;
            font-size: $page-header-font-size;
            color: $page-header-default-color;
            text-align: right;
            min-height: .4rem;
            line-height: .4rem;
            &+.pbb__search-info{
                margin-left: 1rem;
                padding-left: .12rem;
            }
        }
        .pbb__search-input,
        .pbb__search-select,
        .pbb__search-select .el-input--medium,
        .pbb__search-cascader,
        .pbb__search-date-picker,
        .pbb__search-date-picker.el-range-editor--medium .el-range-input{
            font-size: $page-header-font-size - .02rem;
            color: $page-header-default-color;
            .el-input__inner,
            .el-input__icon{
                min-height: .36rem;
                line-height: .36rem;
            }
            &.large{
                width: 2.8rem;
            }
        }
        .el-button.el-button--medium{
            font-size: $page-header-font-size - .02rem;
        }
        .el-button.el-button--medium.pbb__search-btn{
            min-height: .36rem;
        }
        .pbb__search-cascader{
            width: 100%;
            .el-cascader__tags .el-tag{
                max-width: 60%;
            }
        }
        .pbb__search-date-picker{
            &.el-range-editor--medium.el-input__inner{
                height: .4rem;
            }
            .el-range-separator{
                width: 7%;
                line-height: .3rem;
            }
        }
        .pbb__search-v-distpicker{
            label{
                margin-bottom: 0;
                margin-right: 6px;
                select{
                    height: .4rem;
                    line-height: .4rem;
                    width: .8rem;
                    padding: 0 .1rem;
                    font-size: $page-header-font-size;
                    color: $page-header-default-color;
                    option{
                        min-height: auto;
                        height: 100%;
                        line-height: inherit;
                        width: 100%;
                        padding: 0;
                    }
                }
            }
        }
        .pbb__pagination{
            text-align: right;
        }
        .pbb__table{
            .pbb__table-order-num .el-input__inner{
                text-align: center;
            }
            .el-button{
                &.red-color{
                    color: #f56c6c;
                }
            }
            .pbb__table-name-btn{
                display: block;
                width: calc(100% + 1px);
                padding-left: 0;
                padding-right: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                &.no-ellipsis{
                    display: block;
                    width: 100%;
                    text-overflow: initial;
                    overflow: initial;
                    white-space: initial;
                    word-break: break-all;
                    line-height: 1.6;
                }
            }
            .option-column:not(.not-flex){
                .cell{
                    display: flex;
                    .el-button{
                        padding-left: 0;
                        padding-right: 0;
                    }
                    .el-button+.tree-cascader-box,
                    .tree-cascader-box+.el-button{
                        margin-left: .1rem;
                    }
                }
            }
            .pbb__table-image{
                width: 100%;
                height: 1.2rem;
                position: relative;
                text-align: center;
                cursor: pointer;
                overflow: hidden;
                &>img{
                    max-width: initial;
                    width: auto;
                    height: 100%;
                }
            }
        }
    }
}
.page-base-header{
    min-width: calc(12rem - 50px);
}
.page-base-body{
    min-width: calc(12rem - 40px);
    //min-height: 600px;
    height: calc(100% - 122px);
    background: #fff;
    overflow-y: auto;
    // @include fadeEnter("ver", .1rem);
}
.page-base-footer{
    background: #fff;
    min-width: calc(12rem - 50px);
    margin-top: .1rem;
    .page-base-footer__right {
        float: left;
        margin-top: 18px;
        margin-left: 18px;
        @include flexLayout(flex,normal,center);
        .num-box {
            font-size: 16px;
            font-family: "PingFang SC Medium";
            color: #9DA1A4;
            line-height: 26px;
            span {
                font-size: 16px;
                font-weight: 600;
                color: #37383a;
                padding: 0 4px;
            }
        }
        ::v-deep {
            .el-button--medium {
                padding: 8px 20px;
            }
            .el-button.el-button--medium.pbb__search-btn {
                min-height: 32px;
            }
        }
    }
}
.page-base-box.form .page-base-body{
}
.page-base-box.page .page-base-body{
    padding: .1rem 0;
}
